<?php
namespace common\modules\storage\components;

class QiniuStorage extends FileStorage
{
    public function init()
    {
        parent::init();
        if($this->baseUrl == null) {
            $storageService = getStorageService();
            $this->baseUrl = 'http://' . $storageService->getConfigValue('qiniu_domain');
        }
    }
}